package com.tmptSource.mapper;

import com.tmptSource.bean.*;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Component;
import com.tmptSource.mapper.MyBaseMapper;


/**
 * Created by wxy on 2016/7/29.
 */
@Component(value="owTaskMapper")
public interface OwTaskMapper extends MyBaseMapper<OwTask>{

    //页面上查询列的值，动态加载，sql语句读数据库配置而来
    public List select4mainManId();
    //页面上查询列的值，动态加载，sql语句读数据库配置而来
    public List select4assistManId();

    public List queryUserStatusByIds(String[] idArr);

    //修改任务状态
    public long updateTaskStatusById(OwTask bean);

    public List<OwTask> selectByTaskNumber(String taskNumber);
    /**
     * 分页查询-withoutlogin
     */
    @Override
    public List<OwTask> selectByPaginationWithoutLogin(Map<String, Object> mapParam);

}
